Value Range Analysis for Higher-Order Programs
نویسندگان
چکیده
We develop a value range analysis for higher-order programs. The analysis extracts a nugget that characterizes the value bindings resulting from program execution. This abstraction can be fed into a theorem prover to extract non-trivial inductive properties about programs, including the range of values assigned to variables during program execution. The paper incorporates several new technical developments, including a novel prune-rerun technique for approximating higher-order recursive functions. The nugget extracted from the analysis condenses higher-order programs into a first-order rule-based system. We show how the nugget can be interpreted as an inductively defined structure, and can be simply and directly encoded in the Isabelle/HOL theorem prover, where nontrivial properties of the program can be verified.
منابع مشابه
The Nuggetizer: Abstracting Away Higher-Orderness for Program Verification
We develop a static analysis which distills first-order computational structure from higher-order functional programs. The analysis condenses higher-order programs into a first-order rule-based system, a nugget, that characterizes all value bindings that may arise from program execution. Theorem provers are limited in their ability to automatically reason about higher-order programs; nuggets ad...
متن کاملHigher-Order Value Flow Graphs
The concepts of value-and control-ow graphs are important for program analysis of imperative programs. An imperative value ow graph can be constructed by a single pass over the program text. No similar concepts exist for higher-order languages: we propose a method for constructing value ow graphs for typed higher-order functional languages. A higher-order value ow graph is constructed by a sing...
متن کاملAn ${cal O}(h^{8})$ optimal B-spline collocation for solving higher order boundary value problems
As we know the approximation solution of seventh order two points boundary value problems based on B-spline of degree eight has only ${cal O}(h^{2})$ accuracy and this approximation is non-optimal. In this work, we obtain an optimal spline collocation method for solving the general nonlinear seventh order two points boundary value problems. The ${cal O}(h^{8})$ convergence analysis, mainly base...
متن کاملHigher order multi-point fractional boundary value problems with integral boundary conditions
In this paper, we concerned with positive solutions for higher order m-point nonlinear fractional boundary value problems with integral boundary conditions. We establish the criteria for the existence of at least one, two and three positive solutions for higher order m-point nonlinear fractional boundary value problems with integral boundary conditions by using a result from the theory of fixed...
متن کاملComparison of Diagnostic Value of Cast Analyzer X Iranian Software versus Curve Expert Software for Arch Form Construction based on Mathematical Models
Objective: For the assessment of primary arch form, different methods have been used including qualitative classifications, inter-canine and inter-molar widths and quantitative and numerical methods using mathematical models. The purpose of this study was to compare the validity and reliability of Cast Analyzer X Iranian software with those of Curve Expert Professional version 1.1 for arch fo...
متن کامل